﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HumanResources
{
    public class PayrollClerk
    {
        public void PayThese(params Payable[] entities)
        {
            // thousands of lines of code....
            foreach (Payable e in entities)
            {
                Console.WriteLine ("Paying {0} {1:c}", e.Name, e.Pay());
            }
        }
    }
}
